<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Samuel
 */
include_once BASEPATH."/libraries/database.php";
include_once "ChargeOrder.php";
define("ANDROID", "1");
define("IOS", "0");
//服务器内部状态，0等待支付，1表示成功，2表示失败，3已发放
define("STATUS_WAIT_CHARGE",0);
define("STATUS_SUCCESS",1);
define("STATUS_FAILD",2);
define("STATUS_SENDED",3);
error_reporting(E_ALL );
interface BaseChannel {
    //put your code here
    function android($data);
    function ios($data);
}

?>
